package com.fw.system.web.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 个人装备背包表
 * </p>
 *
 * @author  
 * @since 2021-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbGunsUser extends Model<TbGunsUser> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 关联的用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 关联的装备id
     */
    @TableField("guns_id")
    private String gunsId;

    /**
     * 拥有的数量如果多个操作的时候要选择数量
     */
    @TableField("guns_count")
    private Integer gunsCount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 装备状态：1待出售 2出售了 3被冻结
     */
    @TableField("is_status")
    private Integer isStatus;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
